package com.sangfor.consumer.service;

import com.sangfor.consumer.entity.Depart;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 朱勇军
 * @date 2020/7/26
 */
@FeignClient("abcmcs-provider-depart")
@RequestMapping("/provider/depart")
public interface DepartService {

    @GetMapping("/get/{id}")
    Depart getById(@PathVariable("id") Integer id);
}
